// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"

#include <NifestGame/Interfaces/Public/I_Core.h>
#include <NifestGame/Core/Public/NF_Character.h>

#include "NF_PlayerController.generated.h"

/**
 * 
 */
UCLASS(Blueprintable)
class NIFESTGAME_API ANF_PlayerController : public APlayerController, public II_Core
{
	GENERATED_BODY()

	virtual void InitializeNewGame_Implementation() override;

protected:
	virtual void BeginPlay() override;
	virtual void OnPossess(APawn* aPawn) override;

	ACharacter* SpawnPlayer();

public:
	UPROPERTY(EditAnywhere)
	TSubclassOf<ANF_Character> CharacterClass;
};
